package org.jeecg.modules.demo.hd.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 用户金币详情表
 * @Author: jeecg-boot
 * @Date: 2025-02-04
 * @Version: V1.0
 */
@Data
@TableName("app_user_gold_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "用户金币详情表", description = "用户金币详情表")
public class AppUserGoldDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private String userId;
    /**
     * 奖励名称
     */
    @Excel(name = "奖励名称", width = 15)
    @ApiModelProperty(value = "奖励名称")
    private String name;

    /**
     * 金币类型，0 点击广告任务奖励金币  1 兑换现金扣除金币  2 平台补助金币，仅限兑换工币  3 兑换工币扣除金币  4 团队奖励金币，仅限兑换工币   5 团队奖励金币，可兑换现金
     * 根据后台设置那些人的奖励金币可兑换成现金，那些不能？
     */
    @ApiModelProperty(value = "金币类型")
    private String goldType;

    @Excel(name = "项目ID", width = 25)
    @ApiModelProperty(value = "项目ID")
    private String projectId;

    @Excel(name = "请求唯一标识", width = 15)
    @ApiModelProperty(value = "请求唯一标识")
    private String requestId;
    /**
     * 奖励数量
     */
    @Excel(name = "奖励数量", width = 15)
    @ApiModelProperty(value = "奖励数量")
    private Integer goldNum;

    @Excel(name = "ecpm", width = 15)
    @ApiModelProperty(value = "ecpm")
    private Integer ecpm;

    @ApiModelProperty(value = "补助金币数量")
    private Integer subsidyNum;

    /**
     * 奖励时间
     */
    @Excel(name = "奖励时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "奖励时间")
    private Date bonusTime;

    /**
     * 状态
     */
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String goldStatus;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    private String depId;

    @ApiModelProperty(value = "平台编号")
    private String code;

    @ApiModelProperty(value = "设备ID")
    private String deviceId;

}
